package com.yuyou.fn.platform.service;

import com.yuyou.fn.platform.entity.SysRoleResource;
import com.github.wens.framework.service.ISuperService;

import java.util.List;

/**
 *
 * SysRoleResource 表数据服务层接口
 *
 */
public interface ISysRoleResourceService extends ISuperService<SysRoleResource,Long> {

    List<SysRoleResource> findRoleResourceByRoleId(Long roleId);

    List<SysRoleResource> findRoleResourceByRoleIds(List<Long> roleIds);

    void saveOrUpdateRoleResource(List<Long> resourceIds , Long roleId ) ;

    void deleteRoleResource(Long roleId);

}